package cn.isjinhao.se.sql.grammar;


/**
 * Select 语法的通用抽象类
 * @Author ISJINHAO
 * @Date 2021/3/1 11:35
 */
public abstract class CurdStatement {

    private CurdStatementPrinter curdStatementPrinter = new CurdStatementPrinter();

    public abstract <R> R accept(CurdStatementVisitor<R> curdStatementVisitor);

    @Override
    public String toString() {
        return this.accept(curdStatementPrinter);
    }

}
